import request from '@/utils/request'

// 获取协议
export function getByTypeAgreementConf(type) {
  return request({
    url: '/system/agreementConf/getByType/'+type,
    method: 'get',
  })
}

// 更新协议信息
export function updateAgreementConf(data) {
  return request({
    url: '/system/agreementConf',
    method: 'PUT',
    data:data
  })
}
